<template>
  <view>
    <uni-card class="view-title" :title="title">

      <view v-html="content" class="uni-body view-content"></view>
    </uni-card>
  </view>
</template>

<script>
import {getInviteNotice} from "@/api/login";
import UniCard from "@/uni_modules/uni-card/components/uni-card/uni-card.vue";
export default {
  components: {UniCard},
  data() {
    return {
      title: '邀请须知',
      content: ''
    }
  },
  created() {
    this.getInviteNotice()
  },
  methods: {
    /**
     * 获取页面参数
     */
    getInviteNotice() {
      getInviteNotice().then(res => {
        this.content = res.data.remark
      })
    }
  },

}
</script>

<style scoped>
page {
  background-color: #f2f3ff;
  padding-bottom: 20px;
}

.view-title {
  font-weight: bold;

}

.view-content {
  font-size: 26rpx;
  padding: 12px 5px 0;
  color: #333;
  line-height: 24px;
  font-weight: normal;
}
</style>
